package org.squabble.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.squabble.dao.FlagDAO;
import org.squabble.domain.Flag;

@Service
public class FlagService {

	@Autowired
	FlagDAO flagDAO;
	
	public List<Flag> getUserSelectableFlags() {
		return flagDAO.getUserSelectableFlags();
	}
	
	public Flag loadFlag(Long id) {
		return flagDAO.loadFlag(id);
	}
}
